/* ---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/
// Some code copied and modified from https://github.com/microsoft/vscode/blob/1.44.0/src/vs/editor/common/core/position.ts

import type { ILineChange } from '@opensumi/monaco-editor-core/esm/vs/editor/common/services/editorWorker';

export const enum SaveTaskErrorCause {
  CANCEL = 'cancel',
  USE_BY_CONTENT = 'useByContent',
}

export enum SaveTaskResponseState {
  ERROR = 'error',
  SUCCESS = 'success',
  DIFF = 'diff',
}

export enum SymbolTag {
  Deprecated = 1,
}

export { ILineChange };
